#!/usr/bin/env python3
# -*-coding: utf-8--

import socket
addr = ('192.168.199.131', 8089)
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect(addr)

while True:
    msg = input()
    s.send(msg.encode('utf-8'))
    data = s.recv(1024)
    print(data.decode())

s.close()
